<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
          xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head  th:replace="top::html">

  <title>千人智库管理系统首页</title>

</head>
<body class="fixed hold-transition skin-blue">
<div class="wrapper">

  <!-- Main Header -->
    <div th:replace="tophtml::html" ></div>

  <!-- Left side column. contains the logo and sidebar -->
  
  <div th:replace="left::html" ></div>


  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        主页
        <small>工作区</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
        <li class="active">Here</li>
      </ol>
    </section>

    <!-- Main content -->
<section class="content">
      <!-- Small boxes (Stat box) -->
      <div class="row">
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-aqua" style ="cursor:pointer"onclick="javascript:window.location.href='/details/showButtDetailsByStatus?status=1'">
            <div class="inner">
              <h3 th:text="${count[1] != null ? count[1] : 0}">0</h3>

              <p>沟通对接需求</p>
            </div>
            <div class="icon">
              <i class="ion ion-android-call"></i>
            </div>
            <a th:href="@{/details/showButtDetailsByStatus?status=1}" class="small-box-footer">更多 <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-green" style ="cursor:pointer"onclick="javascript:window.location.href='/details/showButtDetailsByStatus?status=2'">
            <div class="inner">
            
            <h3 th:text="${count[2] != null ? count[2] : 0}">0
            </h3>
			
              <p>已签合作协议</p>
            </div>
            <div class="icon">
              <i class="ion ion-stats-bars"></i>
            </div>
            <a th:href="@{/details/showButtDetailsByStatus?status=2}" class="small-box-footer">更多 <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-yellow" style ="cursor:pointer"onclick="javascript:window.location.href='/details/showButtDetailsByStatus?status=3'">
            <div class="inner">
             <h3 th:text="${count[3] != null ? count[3] : 0}">0</h3>

              <p>执行对接任务</p>
            </div>
            <div class="icon">
              <i class="ion ion-person-add"></i>
            </div>
            <a th:href="@{/details/showButtDetailsByStatus?status=3}" class="small-box-footer">更多 <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-red" style ="cursor:pointer"onclick="javascript:window.location.href='/details/showButtDetailsByStatus?status=4'">
            <div class="inner">
               <h3 th:text="${count[4] != null ? count[4] : 0}">0</h3>

              <p>完成对接需求</p>
            </div>
            <div class="icon">
              <i class="ion ion-pie-graph"></i>
            </div>
            <a th:href="@{/details/showButtDetailsByStatus?status=4}" class="small-box-footer">更多 <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->
      </div>
      <!-- /.row -->
      <!-- Main row -->
      <div class="row">
        <!-- Left col -->
        <section class="col-lg-7 connectedSortable ui-sortable">
         

          <!-- TO DO List -->
          <div class="box box-primary">
            <div class="box-header ui-sortable-handle" style="cursor: move;">
              <i class="ion ion-clipboard"></i>

              <h3 class="box-title"><span style="color:red;"><b>关注列表</b></span></h3>
          <div class="box-tools pull-right">
<!-- 分页 -->
   <div class="box-footer clearfix">
        <ul id="page" class="pagination pagination-sm no-margin pull-right">
					
                    <li >
                       
                         <a th:href="@{'javascript:_gotoPageAjax('+${pageInfo.firstPage}+')'}" >首页</a>
                    </li>
                     <!--上一页-->
                     <li  th:if="${pageInfo.hasPreviousPage}">
                         <a  th:href="@{'javascript:_gotoPageAjax('+${pageInfo.prePage}+')'}"  >
          
                          <i class="fa fa-angle-left"></i>&nbsp;上一页
                        </a>
                      </li>
                    <!--循环遍历连续显示的页面，若是当前页就高亮显示，并且没有链接-->
                    <th:block th:each="nav : ${pageInfo.navigatepageNums}" >
                        <li  th:class="${nav==pageInfo.pageNum}?'active':''" >
                        <a th:href="@{'javascript:_gotoPageAjax('+${nav}+')'}"
                            th:text="${nav}"></a></li>
                    </th:block>
                    
                    <th:block th:if="${pageInfo.hasNextPage}">
                        <li>
                            <a th:href="@{'javascript:_gotoPageAjax('+${pageInfo.nextPage}+')'}" > 下一页&nbsp;<i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </th:block>
                    <li>
                        <a th:href="@{'javascript:_gotoPageAjax('+${pageInfo.lastPage}+')'}">尾页</a>
                    </li>
                </ul>
      
    </div> 
              </div>
              
              
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <!-- See dist/js/pages/dashboard.js to activate the todoList plugin -->
              <ul class="todo-list ui-sortable" id="subUserList">
                <li  th:each="collect,iterStat : ${pageInfo.list}">
                  <!-- drag handle -->
                  <span class="handle ui-sortable-handle">
                        <i class="fa fa-ellipsis-v"></i>
                        <i class="fa fa-ellipsis-v"></i>
                      </span>
                  <!-- checkbox -->
                  <input type="checkbox" value="">
                  <!-- todo text -->
                  <a th:if="${collect.subType==1}" th:href="@{'/project/showConditionQuery?pageNo=&searchKeyword='+${collect.remark1}}"> 
                  <span class="text" th:text="${collect.remark1}">特种电子镀膜封装技术应用及产业化 </span>
                  </a>
                    <a th:if="${collect.subType==2}" th:href="@{'/demand/showConditionQuery?pageNo=&searchKeyword='+${collect.remark1}}"> 
                  <span class="text" th:text="${collect.remark1}">特种电子镀膜封装技术应用及产业化 </span>
                  </a>
                  <a th:if="${collect.subType==3}" th:href="@{'/customer/customerList?pageNum=1&customerName='+${collect.remark1}}"> 
                  <span class="text" th:text="${collect.remark1}">特种电子镀膜封装技术应用及产业化 </span>
                  </a>
                  <a th:if="${collect.subType==4}" th:href="@{'/person/findPersonList?pageNo=1&name='+${collect.remark1}}"> 
                  <span class="text" th:text="${collect.remark1}">特种电子镀膜封装技术应用及产业化 </span>
                  </a>
                  <a th:if="${collect.subType==5}" th:href="@{'/conference/conferenceList?pageNum=1&conferenceName='+${collect.remark1}}"> 
                  <span class="text" th:text="${collect.remark1}">特种电子镀膜封装技术应用及产业化 </span>
                  </a>
                  <!-- Emphasis label -->
                  <!-- 1.项目  2.需求 3.客户 4.专家 5.会议 -->
                  <small class="label label-danger" th:if="${collect.subType==1}"><i class="fa fa-clock-o"></i> <span>项目</span></small>
                  <small class="label label-info" th:if="${collect.subType==2}"><i class="fa fa-clock-o"></i> <span>需求</span></small>
                  <small class="label label-warning" th:if="${collect.subType==3}"><i class="fa fa-clock-o"></i> <span>客户</span></small>
                  <small class="label label-success" th:if="${collect.subType==4}"><i class="fa fa-clock-o"></i> <span>专家</span></small>
                  <small class="label label-primary" th:if="${collect.subType==5}"><i class="fa fa-clock-o"></i> <span>会议</span></small>
                  
                  <!-- General tools such as edit or delete-->
                  <div class="tools">
                    <i class="fa fa-trash-o" th:onclick="'javascript:deleteSub(\''+${collect.pid}+'\')'"></i>
                  </div>
                </li>
              
              
              </ul>
            </div>
            <!-- /.box-body -->
            <div class="box-footer clearfix no-border">
              <button type="button" class="btn btn-default pull-right"><i class="fa fa-plus"></i> Add item</button>
            </div>
          </div>
          <!-- /.box -->

          <!-- Calendar -->
          <div class="box box-solid bg-green-gradient">
            <div class="box-header ui-sortable-handle" style="cursor: move;">
              <i class="fa fa-calendar"></i>
              <h3 class="box-title">备忘录</h3>
              <div class="pull-right box-tools">
                <div class="btn-group">
                  <button type="button" class="btn btn-success btn-sm dropdown-toggle" data-toggle="dropdown">
                    <i class="fa fa-bars"></i></button>
                  <ul class="dropdown-menu pull-right" role="menu">
                    <li><a href="javascript:addTask();">新建任务</a></li>
                    <li><a href="#">Clear events</a></li>
                    <li class="divider"></li>
                    <li><a href="">View calendar</a></li>
                  </ul>
                </div>
                <button type="button" class="btn btn-success btn-sm" data-widget="collapse"><i class="fa fa-minus"></i>
                </button>
                <button type="button" class="btn btn-success btn-sm" data-widget="remove"><i class="fa fa-times"></i>
                </button>
              </div>
            </div>
            <div class="box-body no-padding">
            <div id="calendar">
            </div>
            
            <!-- /.box-body -->
            <!-- <div class="box-footer text-black">
              <div class="row">
                <div class="col-sm-6">
                  Progress bars
                  <div class="clearfix">
                    <span class="pull-left">Task #1</span>
                    <small class="pull-right">90%</small>
                  </div>
                  <div class="progress xs">
                    <div class="progress-bar progress-bar-green" style="width: 90%;"></div>
                  </div>

                  <div class="clearfix">
                    <span class="pull-left">Task #2</span>
                    <small class="pull-right">70%</small>
                  </div>
                  <div class="progress xs">
                    <div class="progress-bar progress-bar-green" style="width: 70%;"></div>
                  </div>
                </div>
                /.col
                <div class="col-sm-6">
                  <div class="clearfix">
                    <span class="pull-left">Task #3</span>
                    <small class="pull-right">60%</small>
                  </div>
                  <div class="progress xs">
                    <div class="progress-bar progress-bar-green" style="width: 60%;"></div>
                  </div>

                  <div class="clearfix">
                    <span class="pull-left">Task #4</span>
                    <small class="pull-right">40%</small>
                  </div>
                  <div class="progress xs">
                    <div class="progress-bar progress-bar-green" style="width: 40%;"></div>
                  </div>
                </div>
                /.col
              </div>
              /.row
            </div>
          </div> -->
          </div>
		</div>
        </section>
        <!-- /.Left col -->
        <!-- right col (We are only adding the ID to make the widgets sortable)-->
        <section class="col-lg-5 connectedSortable ui-sortable">


          <!-- solid sales graph -->
          <div class="box box-solid bg-teal-gradient">
            <div class="box-header ui-sortable-handle" style="cursor: move;">
              <i class="fa fa-th"></i>

              <h3 class="box-title">Sales Graph</h3>

              <div class="box-tools pull-right">
                <button type="button" class="btn bg-teal btn-sm" data-widget="collapse"><i class="fa fa-minus"></i>
                </button>
                <button type="button" class="btn bg-teal btn-sm" data-widget="remove"><i class="fa fa-times"></i>
                </button>
              </div>
            </div>
            <div class="box-body border-radius-none">
              <div class="chart" id="line-chart" style="height: 250px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"><svg height="250" version="1.1" width="664.813" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="overflow: hidden; position: relative; left: -0.90625px; top: -0.59375px;"><desc style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">Created with Raphaël 2.2.0</desc><defs style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></defs><text x="44.359375" y="211" text-anchor="end" font-family="Open Sans" font-size="10px" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-family: &quot;Open Sans&quot;; font-size: 10px; font-weight: normal;" font-weight="normal"><tspan dy="3.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">0</tspan></text><path fill="none" stroke="#efefef" d="M56.859375,211H639.813" stroke-width="0.4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path><text x="44.359375" y="164.5" text-anchor="end" font-family="Open Sans" font-size="10px" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-family: &quot;Open Sans&quot;; font-size: 10px; font-weight: normal;" font-weight="normal"><tspan dy="3.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">5,000</tspan></text><path fill="none" stroke="#efefef" d="M56.859375,164.5H639.813" stroke-width="0.4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path><text x="44.359375" y="118.00000000000001" text-anchor="end" font-family="Open Sans" font-size="10px" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-family: &quot;Open Sans&quot;; font-size: 10px; font-weight: normal;" font-weight="normal"><tspan dy="3.500000000000014" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">10,000</tspan></text><path fill="none" stroke="#efefef" d="M56.859375,118.00000000000001H639.813" stroke-width="0.4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path><text x="44.359375" y="71.5" text-anchor="end" font-family="Open Sans" font-size="10px" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-family: &quot;Open Sans&quot;; font-size: 10px; font-weight: normal;" font-weight="normal"><tspan dy="3.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">15,000</tspan></text><path fill="none" stroke="#efefef" d="M56.859375,71.5H639.813" stroke-width="0.4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path><text x="44.359375" y="25.00000000000003" text-anchor="end" font-family="Open Sans" font-size="10px" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-family: &quot;Open Sans&quot;; font-size: 10px; font-weight: normal;" font-weight="normal"><tspan dy="3.5000000000000284" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">20,000</tspan></text><path fill="none" stroke="#efefef" d="M56.859375,25.00000000000003H639.813" stroke-width="0.4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path><text x="532.855530528554" y="223.5" text-anchor="middle" font-family="Open Sans" font-size="10px" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-family: &quot;Open Sans&quot;; font-size: 10px; font-weight: normal;" font-weight="normal" transform="matrix(1,0,0,1,0,7)"><tspan dy="3.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">2013</tspan></text><text x="273.60762439246656" y="223.5" text-anchor="middle" font-family="Open Sans" font-size="10px" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-family: &quot;Open Sans&quot;; font-size: 10px; font-weight: normal;" font-weight="normal" transform="matrix(1,0,0,1,0,7)"><tspan dy="3.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">2012</tspan></text><path fill="none" stroke="#efefef" d="M56.859375,186.2062C73.15091008505468,185.9458,105.73398025516403,187.775575,122.0255153402187,185.1646C138.31705042527338,182.553625,170.90012059538273,166.4743950819672,187.1916556804374,165.3184C203.30610886239367,164.17497008196722,235.53501522630617,178.173325,251.64946840826244,175.9669C267.7639215902187,173.760475,299.9928279541312,149.8671487704918,316.10728113608747,147.667C332.39881622114217,145.4426737704918,364.98188639125146,155.955625,381.27342147630617,158.269C397.5649565613609,160.582375,430.14802673147017,177.16471967213116,446.4395618165249,166.174C462.55401499848114,155.30274467213115,494.7829213623936,77.67916919889502,510.8973745443499,70.8211C526.8347458232076,64.03839419889503,558.7094883809234,103.97557445054947,574.6468596597812,111.61090000000002C590.9383947448359,119.41589945054947,623.5214649149452,127.33952500000001,639.813,132.5824" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path><circle cx="56.859375" cy="186.2062" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle><circle cx="122.0255153402187" cy="185.1646" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle><circle cx="187.1916556804374" cy="165.3184" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle><circle cx="251.64946840826244" cy="175.9669" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle><circle cx="316.10728113608747" cy="147.667" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle><circle cx="381.27342147630617" cy="158.269" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle><circle cx="446.4395618165249" cy="166.174" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle><circle cx="510.8973745443499" cy="70.8211" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle><circle cx="574.6468596597812" cy="111.61090000000002" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle><circle cx="639.813" cy="132.5824" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle></svg><div class="morris-hover morris-default-style" style="left: 11.8047px; top: 119px; display: none;"><div class="morris-hover-row-label">2011 Q1</div><div class="morris-hover-point" style="color: #efefef">
  Item 1:
  2,666
</div></div></div>
            </div>
            <!-- /.box-body -->
            <div class="box-footer no-border">
              <div class="row">
                <div class="col-xs-4 text-center" style="border-right: 1px solid #f4f4f4">
                  <div style="display:inline;width:60px;height:60px;"><canvas width="60" height="60"></canvas><input type="text" class="knob" data-readonly="true" value="20" data-width="60" data-height="60" data-fgcolor="#39CCCC" readonly="readonly" style="width: 34px; height: 20px; position: absolute; vertical-align: middle; margin-top: 20px; margin-left: -47px; border: 0px; background: none; font: bold 12px Arial; text-align: center; color: rgb(57, 204, 204); padding: 0px; -webkit-appearance: none;"></div>

                  <div class="knob-label">Mail-Orders</div>
                </div>
                <!-- ./col -->
                <div class="col-xs-4 text-center" style="border-right: 1px solid #f4f4f4">
                  <div style="display:inline;width:60px;height:60px;"><canvas width="60" height="60"></canvas><input type="text" class="knob" data-readonly="true" value="50" data-width="60" data-height="60" data-fgcolor="#39CCCC" readonly="readonly" style="width: 34px; height: 20px; position: absolute; vertical-align: middle; margin-top: 20px; margin-left: -47px; border: 0px; background: none; font: bold 12px Arial; text-align: center; color: rgb(57, 204, 204); padding: 0px; -webkit-appearance: none;"></div>

                  <div class="knob-label">Online</div>
                </div>
                <!-- ./col -->
                <div class="col-xs-4 text-center">
                  <div style="display:inline;width:60px;height:60px;"><canvas width="60" height="60"></canvas><input type="text" class="knob" data-readonly="true" value="30" data-width="60" data-height="60" data-fgcolor="#39CCCC" readonly="readonly" style="width: 34px; height: 20px; position: absolute; vertical-align: middle; margin-top: 20px; margin-left: -47px; border: 0px; background: none; font: bold 12px Arial; text-align: center; color: rgb(57, 204, 204); padding: 0px; -webkit-appearance: none;"></div>

                  <div class="knob-label">In-Store</div>
                </div>
                <!-- ./col -->
              </div>
              <!-- /.row -->
            </div>
            <!-- /.box-footer -->
          </div>
          <!-- /.box -->

        
          <!-- /.box -->

        </section>
        <!-- right col -->
      </div>
      <!-- /.row (main row) -->

    <div>
</div></section>
      <!--------------------------
        | Your Page Content Here |
        -------------------------->
        
        

  </div>
  <!-- /.content-wrapper -->

  <!-- Main Footer -->
<div th:replace="footer::html" ></div>

  <div class="control-sidebar-bg"></div>
</div>

<div th:replace="bottom::html"></div>
<script type="text/javascript" th:inline="javascript">
	$(function() {
		[# th:each="memo : ${memoList}"]
			var taskTime = '[(${memo.taskTime})]';
			var content = '[(${memo.content})]';
			var memotd = $("td[data-date="+taskTime+"]");
			memotd.append("@").addClass("hasMemo").css("color", "red");
			memotd.attr("data-content", content);
		[/]
		$("td[data-date="+[[${param.taskTime}]]+"]").addClass("active");
		
		$("td.day").click(function() {
			var milliSeconds = $(this).attr("data-date");
			if ($(this).hasClass("hasMemo")) {
				layx.prompt('修改任务','',function(id,value,textarea, button, event){
					$.ajax({
						type : 'post',
						url : [[@{/updateMemo}]],
						data : {content : value, taskTime : milliSeconds, [[${_csrf.parameterName}]]:[[${_csrf.token}]]},
						success : function(msg) {
							window.location.href = [[@{/index}]];
						}
					}); 
					
				},$(this).attr("data-content"),
				{
					width: 600,
					height: 400,
					event:{
						ondestroy:{
							after:function() {
								window.location.href = [[@{/refresh}]];
							}
						}
					}				
				});
			} else {
				var h = [[@{/refresh?taskTime=}]]+milliSeconds;
				window.location.href = h;
			}
		});
	});
	
	
	function addTask() {
		var milliSeconds = $("td.active.day").attr("data-date");
		var milliSeconds = $("td.active.day").text();
		if (milliSeconds === undefined || milliSeconds === null)
			layx.msg('必须选择日期',{dialogIcon:'warn'});
		else {
			layx.prompt('新建一个任务','',function(id,value,textarea, button, event){
				var milliSeconds = $("td.active.day").attr("data-date");
				$.ajax({
					type : 'post',
					url : [[@{/addMemo}]],
					data : {content : value, taskTime : milliSeconds, [[${_csrf.parameterName}]]:[[${_csrf.token}]]},
					success : function(msg) {
						window.location.href = [[@{/index}]];
					}
				}); 
			},'',
			{
				width: 600,
				height: 400
			});
		}
	}
</script> 
</body>
</html>